agbcomp [Tool Command]
Compresses binary data for output.
Syntax
agbcomp [-b/-h/-d 8|16/-r/-l search/-h 4|8] input-file.bin
Description
Compresses binary data for output.
Command arguments are shown below:
- input-file
- Input file.
- -b
- Outputs as binary file.
- -h
- Adds 4-byte header to be able to identify non-conversion data.
- -d bitSize (8|16)
- Outputs differential conversion data.
Use Diff8BitUnFilterWram(), Diff8BitUnFilterVram() or Diff16BitUnFilter() to decompress.
- -r
- Outputs using run length compression. Use RLUnCompVram() or RLUnCompWram() to decompress.
- -l search (>0)
- Outputs using LZ77 compression. Use LZ77UnCompVram() or LZ77UnCompWram() to decompress.
- Specify 2 or more for search for data decompressed using LZ77UnCompVram().
- -h bitSize (4|8)
- Outputs using Huffman compression. Use HuffUnComp() to decompress.
Example
To output data which was converted in the order of, Add header to original data --> LZ77 compression --> Huffman compression.
agbcomp -h -l 2 -h 4 input-file.bin
AGB-06-0030-001A (2/26/01)
© 2001 Nintendo of America Inc.